<#assign module="member"/>

<@override name="header">
<link rel="stylesheet" href="${ctx}/assets/css/datepicker/datepicker.css">
<link rel="stylesheet" href="${ctx}/assets/css/datetimepicker.css">
</@override>
<@override name="body">

<div class="row">
	<div class="col-xs-12">
	    <div class="orders-navt col-xs-9" style="padding-left:0">
	   		<ul class="orders-nav">
	  			<li class="orders-notclick " style="width:90px;"><a class="tab" href="${ctx}/member/list">所有用户</a></li>
		  		<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/member/elist">企业信息</a></li>
		  		<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/member/gradelist">用户等级</a></li>
		  		<li class="orders-click" style="width:90px;"><a class="tab" href="${ctx}/member/lock">登录记录</a></li>
		  		<@shiro.hasPermission name='blacklist'>
		  			<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/member/blacklist">黑名单</a></li>
		  		</@shiro.hasPermission>
		  		<@shiro.hasPermission name='phonevisit'>
		  			<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/phonevisit/list">回访记录</a></li>
		  		</@shiro.hasPermission>
		  		<@shiro.isMainCompany>
				  <@shiro.hasPermission name='memberapply'>
				  	<#--
				  	<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/memberapply/list">VIP申请</a></li>
				  	-->
				  </@shiro.hasPermission>
			  	</@shiro.isMainCompany>
			  	<@shiro.hasPermission name='receipt'>
			  		<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/receipt/list">发票申请</a></li>
			   	</@shiro.hasPermission>
			   	<@shiro.hasPermission name='membernotice'>
			   		<li class="orders-notclick" ><a class="tab" href="${ctx}/membernotice/list">通知</a></li>
			   	</@shiro.hasPermission>
		    </ul>
		</div>
		<div class="col-xs-3" style="padding:0;">
  			<button class="pull-right btn btn-primary" onclick="window.location='${ctx}/member/addPersonal';"><b>+</b>&nbsp;添加个人客户</button>
			<button class="pull-right btn btn-primary btn-primary-a" onclick="window.location='${ctx}/member/addEnterprise';"><b>+</b>&nbsp;添加企业客户</button>
  		</div>
	</div>
  	
</div>

<div class="tab-content">
	<div class="container-fluid">
  		<div class="row query-pad">
  			<div class="col-xs-11" style="padding: 0px;">
        		<div class="col-xs-4 input-query" style="text-align: center;">
        		<span>联系人：</span>	
        		<input type="text" id="query" class="form-control" name="param" value="" placeholder="请输入联系人电话" style="width:300px; height:34px;padding:0 0 0 4px;">
        		</div>
    		</div>
    		<div class="col-xs-1"style="padding: 0px;">
    			<div class="input-query-bttom">
        			<button id="searchButton" class="btn btn-primary"></i>&nbsp;查询</button>
        		</div>
    		</div>
  		</div>
  		<br/>
  		
  	</div>
</div>


<div class="tabta-content">  	
	<table class="table table-condensed table-striped">
		<tbody>
			<tr>
				<th style='min-width:120px;'>手机号</th>
				<th style='min-width:120px;'>短信发送条数</th>
				<th style='min-width:120px;'>短信验证错误次数</th>
				<th style='min-width:120px;'>密码验证错误次数</th>
				<th style='min-width:120px;'>锁定状态</th>
				<th style='min-width:120px;'>锁定原因</th>
				<th style='min-width:120px;'>操作</th>
			</tr>
		</tbody>
	</table>
	<br><div style="text-align:center" id="NoData"></div></br>
	<ul class="pagination pull-left pagination-sm pageshow" id="pageshow" style="display:none;">
		<li><a></a></li>
	</ul>
	<ul class="pagination pull-left pagination-sm pagedata" id="pagedata" style="display:none;">
    </ul>
</div>

</@override>

<@override name="footer">
	<script type="text/javascript">
		window.daijia = {
			ctx:'${ctx}',
			userId:'<@shiro.principal property='id'/>'
		};
			
		var membermoney = false;
		var phonevisit = false;
		var memberedit=false;
		var zhuan = false;
		<@zhuan>
			zhuan = true;
		</@zhuan>
		<@shiro.hasPermission name='membermoney'>
			membermoney = true;
		</@shiro.hasPermission>
		<@shiro.hasPermission name='phonevisit'>
			phonevisit = true;
		</@shiro.hasPermission>
		<@shiro.hasPermission name='memberedit'>
			memberedit=true;
		</@shiro.hasPermission>
	</script>
	<script src="${ctx}/assets/js/jquery.paging.min.js"></script>
	<script src="${ctx}/assets/js/pushmessage.js"></script>
	<script src="${ctx}/assets/js/bootstrap-datetimepicker.min.js"></script>
	<script src="${ctx}/assets/js/bootstrap-datetimepicker.zh-CN.js"></script>
	<script src="${ctx}/assets/js/datepicker.js"></script>
	<script src="${ctx}/assets/js/member/lock.js"></script>
</@override>
<@extends name="../layout.ftl"/>
